
#define MAX 1000
#define Max_name 10
#define Max_sex 5
#define Max_tele 15

struct contact  
{
   char name[Max_name];
   int age;
   char sex[Max_sex];
   char tele[Max_tele];
};

struct contt
{
    struct contact data[MAX];
    int size;
};

void text_init(struct contt* pc);
int text_add(struct contt *pc);
void text_show(const struct contt *pc);
void text_del(struct contt *pc);


